package similarity;

import preprocess.XMLDoc;

public interface Similarity
{
    /**
     * Calculate the similarity between two XML documents simply
     * 
     * @param doc1
     *            The first XML document object
     * @param doc2
     *            The second XML document object
     * 
     * @return the similarity of the two XML trees, a large similarity means
     *         better similar
     */
    public double calcSimilarity(XMLDoc doc1, XMLDoc doc2);
}
